package com.tensquare.qa.client.impl;

import com.tensquare.qa.client.BaseClient;
import entity.Result;
import entity.StatusCode;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.PathVariable;

/**
 * Created by DUZEYU on 2019/1/1.
 */
@Component
public class BaseClientImpl implements BaseClient {

    @Override
    public Result findById(@PathVariable("labelId") String labelId) {

        return new Result(false, StatusCode.ERROR,"熔断器出发了");
    }
}
